package com.ws.universal.tools.loading.button;

import android.animation.Animator;

import org.jetbrains.annotations.Nullable;

import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Lambda;


public class LoadingButton$playStartAnimation$$inlined$apply$lambda$2 extends Lambda implements Function1 {
    // $FF: synthetic field
    final LoadingButton this$0;
    // $FF: synthetic field
    final boolean $isReverse$inlined;

    LoadingButton$playStartAnimation$$inlined$apply$lambda$2(LoadingButton var1, boolean var2) {
        super(1);
        this.this$0 = var1;
        this.$isReverse$inlined = var2;
    }

    // $FF: synthetic method
    // $FF: bridge method
    public Object invoke(Object var1) {
        this.invoke((Animator) var1);
        return Unit.INSTANCE;
    }

    public final void invoke(@Nullable Animator it) {
        LoadingButton.access$setMCurrentState$p(this.this$0, this.$isReverse$inlined ? 0 : 2);
        if (LoadingButton.access$getMCurrentState$p(this.this$0) == 0) {
            LoadingButtonKt.access$setShadowDepth(LoadingButton.access$getMPaint$p(this.this$0), (float) 2 * LoadingButton.access$getMDensity$p(this.this$0));
            this.this$0.invalidate();
        }

    }
}
